package com.lijianlove.message.dal;

import com.lijianlove.message.common.enums.MsgStatusEnum;
import com.lijianlove.message.common.model.Message;

import java.util.List;

/**
 * @author lijian
 * @date 2019/5/29 下午5:37
 */
public interface MessageStoreService {

    Message get(String msgId);

    String save(Message msg);

    void updateStatus(Message message);

    List<Message> listByStatus(MsgStatusEnum status);
}
